<?php

class Ajax_UploadImageController extends Model3_Controller {

    public function init() {
        $credentials = Model3_Auth::getCredentials();
        $this->view->idUser = $credentials['idUsuario'];
        $this->view->setUseTemplate(false);
    }

    protected function indexAction() {
        
    }

    public function getControlsAction() {
        $petsAdapter = MN_PetsTable::getInstance();
        
        $myPets = $petsAdapter->getMyPets($this->view->idUser);
        
        $this->view->mypets = $myPets;
    }

}
